﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DashMaster.master" AutoEventWireup="true" CodeFile="ManageProject.aspx.cs" Inherits="ManageProject" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <style>
    .watermark
    {
        color=gray;
        }
    </style>
    
    <table style="width: 100%;" align="center">
        <tr>
            <td style="width: 151px">
                &nbsp;</td>
            <td style="width: 196px">
                &nbsp;</td>
            <td style="width: 234px">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 151px">
                &nbsp;</td>
            <td style="width: 196px">
                &nbsp;</td>
            <td style="width: 234px">
&nbsp;&nbsp;&nbsp;
            </td>
        </tr>
        <tr>
            <td style="width: 151px">
                &nbsp;</td>
            <td style="width: 196px">
                Project Name&nbsp;
            </td>
            <td style="width: 234px">
                <asp:TextBox ID="txtPname" runat="server"></asp:TextBox>
                <asp:TextBoxWatermarkExtender ID="txtPname_TextBoxWatermarkExtender" 
                    runat="server" Enabled="True" TargetControlID="txtPname" 
                    WatermarkText="*Required" WatermarkCssClass="watermark">
                </asp:TextBoxWatermarkExtender>
                &nbsp;
                <br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtPname" ErrorMessage="Please enter Project Name" 
                    SetFocusOnError="True"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 151px">
                <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                </asp:ToolkitScriptManager>
            </td>
            <td style="width: 196px">
                Project Description&nbsp;
            </td>
            <td style="width: 234px">
                <asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" style="resize:none"></asp:TextBox>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td style="height: 119px; width: 151px">
                &nbsp;</td>
            <td style="width: 196px; height: 119px">
                Start Date&nbsp;
            </td>
            <td style="height: 119px; width: 234px">
                <asp:TextBox ID="txtStart" runat="server"></asp:TextBox>
                <asp:PopupControlExtender ID="txtStart_PopupControlExtender" runat="server" 
                    DynamicServicePath="" Enabled="True" ExtenderControlID="" 
                    PopupControlID="panel2" TargetControlID="txtStart">
                </asp:PopupControlExtender>
                &nbsp;
                <br />
                <asp:Panel ID="Panel2" runat="server" Width="150px" Direction="LeftToRight">
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <asp:Calendar ID="start" runat="server" 
                            onselectionchanged="Calendar1_SelectionChanged" BackColor="#CCCCCC"></asp:Calendar>
                    </ContentTemplate>
                    </asp:UpdatePanel>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td style="width: 151px">
                &nbsp;</td>
            <td style="width: 196px">
                End Date</td>
            <td style="width: 234px">
                <asp:TextBox ID="txtEnd" runat="server"></asp:TextBox>
                <asp:PopupControlExtender ID="txtEnd_PopupControlExtender" runat="server" 
                    DynamicServicePath="" Enabled="True" ExtenderControlID="" 
                    PopupControlID="panel3" TargetControlID="txtEnd">
                </asp:PopupControlExtender>
                <br />
                <asp:Panel ID="Panel3" runat="server" Width="150px">
                    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                    <ContentTemplate>
                        <asp:Calendar ID="end" runat="server" onselectionchanged="end_SelectionChanged" 
                            BackColor="#CCCCCC"></asp:Calendar>
                    </ContentTemplate>
                    </asp:UpdatePanel>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td style="width: 151px">
                &nbsp;</td>
            <td style="width: 196px">
                &nbsp;</td>
            <td style="width: 234px">
                <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Submit" />
            </td>
        </tr>
    </table>
    
</asp:Content>

